﻿//* Copyright(C) 2005-2012, all rights reserved.
//*
//* The following code is copyrighted and contains proprietary information
/* and trade secrets of Foxit Software Inc.      
**************************************************************************
*/

/**
Annot页面事件响应类
*/



define(function (require, exports, module) {
    var CAnnot_PageEventHandler = function (pAnnotPlugin) {
  //      CAnnot_PageEventHandler.superclass.constructor.call(this);
        this.m_pAnnotPlugin = pAnnotPlugin;
    };
   // Interface.extend(CAnnot_PageEventHandler, IReader_PageEventHandler);


    CAnnot_PageEventHandler.prototype.OnPageVisible = function (pPageView,contentPanelWidth, contentPanelHeight, contentPanelOffset) {
        this.m_pAnnotPlugin.OnPageVisable(pPageView, contentPanelWidth, contentPanelHeight, contentPanelOffset);
    };

    CAnnot_PageEventHandler.prototype.OnPageShowComplete = function (pPageView) {
    	this.m_pAnnotPlugin.OnPageShowComplete(pPageView);
    };
    
    CAnnot_PageEventHandler.prototype.OnPageInvisible = function (pPageView) {
        this.m_pAnnotPlugin.OnPageInvisible(pPageView);
    };

    FXREADER.Event.CAnnot_PageEventHandler = CAnnot_PageEventHandler;


    return FXREADER.Event.CAnnot_PageEventHandler;
});